From 608c4d32db790928cde2e1a6f60b8747cf0bfb30 Mon Sep 17 00:00:00 2001 From: "br260@laudney.cl.cam.ac.uk" Date: Wed, 3 Dec 2003 10:39:33 +0000 Subject: [PATCH] bitkeeper revision 1.636.1.3 (3fcdbd654OqdrTB4O2_GaQpn0Yh7Vw) xc_private.h: Propagate return values as far as possible. --- tools/xc/lib/xc_private.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/xc/lib/xc_private.h b/tools/xc/lib/xc_private.h index 26b2d95595..84ce9350cf 100644 --- a/tools/xc/lib/xc_private.h +++ b/tools/xc/lib/xc_private.h @@ -105,8 +105,6 @@ static inline int do_dom0_op(int xc_handle, dom0_op_t *op) goto out2; } - ret = 0; - out2: (void)munlock(op, sizeof(*op)); out1: return ret; } @@ -128,8 +126,6 @@ static inline int do_network_op(int xc_handle, network_op_t *op) if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 ) goto out2; - ret = 0; - out2: (void)munlock(op, sizeof(*op)); out1: return ret; } -- 2.30.2